The parameter format of SCPI is derived from the program parameter format defined in IEEE 488.2.
The representation system of the program data that the KFM2151 handles is indicated below.
Non-numeric parameters
String data is used when a series of ASCII characters are requested.
Enclose a string in single quotations or double quotations. The start and end quotation marks must match.
If you wish to use a quotation mark as a part of the string, enter two quotation marks consecutively (with no characters in between).
Boolean data expresses a 1 or 0 condition or an ON or OFF condition. Responses are returned as 1 or 0.
VOLTage:RANGe:AUTO ON
Numeric parameters
Represents an integer.
Details are given in the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation.
Represents a real number (exponential).
Details are given in the IEEE 488.2 Standard Digital Interface for Programmable Instrumentation.
The value +5.20000+E01 is returned for the response data 52.0. The number of digits to the right of the decimal is 5.
NRf is a generic term that includes NR1 and NR3.
A numeric parameter such as a decimal point, optional prefix, or measurement unit.
The syntax as a numeric representation is the same as NRf.
MINimum , MAXimum and DEFault are available as substitutes for declaring certain values.
Units such as V, A, and W can also be used in a numeric parameter.
If a value that cannot be assigned is entered, the device rounds the value to the closest possible value.
VOLTage:RANGe 250
Because the range setting is 2 to 200, 200 is returned in response to VOLT:RANG?.
Special form numeric parameter
The special form numeric parameters MINimum , MAXimum and DEFault can be used as substitutes for limit values when the parameter is numeric.
In the example below, the voltage protection (UVP) is set to the minimum value.
VOLTage:PROTection:LOWer MINimum
The minimum and maximum values can be inquired for most parameters using queries.
VOLTage:PROTection:LOWer? MIN
VOLTage:PROTection:LOWer? MAX
Measurement unit
Below are the default measurement units.
• V (voltage) |
The following optional prefixes are supported.
• M (milli) | • K (kilo) | • U (micro) |
NOTE
|